<?php
error_reporting(0);
define('IN_QY',true);
session_start();
require("include/common.inc.php");
require_once("include/config.php");
require_once("include/httpUtil.php");
define('SCRIPT','ad_list');








        $sql2 = "select * from tbl_taorder  where id='".$_POST['id']."'";
        $query2=mysql_query($sql2);
		$row2=mysql_fetch_array($query2);


        $sql3 = "select * from tbl_taospp  where id='".$row2['goodid']."'";
        $query3=mysql_query($sql3);
		$row3=mysql_fetch_array($query3);




$funAndOperate = "industrySMS/sendSMS";
// 生成body
$body = createBasicAuthData();
// 在基本认证参数的基础上添加短信内容和发送目标号码的参数
$body['smsContent'] = '【众晒网】亲爱的'.$_COOKIE['shuyu'].'，您好！您订单为'.$row3['chtitle'].'的宝贝已经确认签收，满意请给五星好评哦~';
$body['to'] = ''.$_COOKIE['username'].'';
$result = post($funAndOperate, $body);

echo json_encode(array('error'=>0,'data'=>$result,'data1'=>$row2['goodid'],'data2'=>$row3['chtitle'])); 

?>